package com.example.ruomi.pojo.enums;

import lombok.Getter;

/**
 * 用户账号状态枚举类
 * ACTIVE: 正常
 * FROZEN: 冻结
 * CANCEL: 注销
 *
 * @author Roy
 * @date 2021/10/12
 */
public enum StatusEnum {
    NORMAL("ACTIVE", "正常"),
    FROZEN("FROZEN", "冻结"),
    CANCEL("CANCEL", "注销");


    private String value;

    private String desc;

    StatusEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
